package lab02.test07;

/**
 * Created by dell on 2017/10/21.
 */
public class Test {
    public static void main(String[] args) {
        Person p=new Person();
        p.name="name：ayu";
        p.age="：age:18";
        p.IDnumber="IDnumber：510121199912218945";
        Student s=new Student();
        s.name="ayu";
        s.age="18";
        s.IDnumber="510121199912218945";
        s.sname="schoolname：四川旅游学院";
        s.sno="schoolnumber：1601234567";
        System.out.println(p.getInfo());
        System.out.println(s.getInfo());
    }
}
